import React,{ useState} from "react";
import BrandItem from "./BrandItem";
function BrankList(props){
    const {list}=props
    return (
        <ul>
            {list.map(item=> <BrandItem key={item.id} dataId={item.id} brand_logo={item.brand_logo} brand_name={item.brand_name} />)}  
        </ul>
    )
}
BrankList.defaultProps={
    list:[]
}

export default BrankList